<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>  </title>
</head>
<body>
<strong><bean:write name="moneda"/> &nbsp;/&nbsp;<bean:write name="unidad_precio_venta"/></strong>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" class="tabla">
	<!-- Encabezado tabla -->
	<tr>
		<td width="22%" align="center" class="impar font_general">
			<strong><logic:equal name="moneda" value="USD">
				Tipo Cambio: <bean:write name="tipo_cambio" format="0.#####"/>
			</strong></logic:equal>
		</td>
		<td width="17%" align="center" class="impar font_general">
			<strong><bean:message key="CreatePriceRequest.MainTable.Current" /></strong>
		</td>
		<td width="16%" align="center" class="impar font_general">
			<strong>Consumo Declarado</strong>
		</td>
		<td width="15%" align="center" class="impar font_general">
			<strong><bean:message key="CreatePriceRequest.MainTable.CliProd" /></strong>
		</td>
		<td width="15%" align="center" class="impar font_general">
			<strong><bean:message key="CreatePriceRequest.MainTable.CliProds" /></strong>
		</td>
		<td width="15%" align="center" class="impar font_general">
			<strong><bean:message key="CreatePriceRequest.MainTable.GrpProds" /></strong>
		</td>
	</tr>
	<!-- Fin Encabezado tabla -->
	
	<!-- Fila Precios-->
	<tr>
		<td class="impar font_general">&nbsp;
			<strong><bean:message key="CreatePriceRequest.MainTable.Price" /></strong>
		</td>
		<td align="right" class="font_general par">&nbsp;
			<logic:present name="precio_actual">
					<!-- level 5 2009 07 27 Manejar 4 decimales en precios y flete -->
					<bean:write name="precio_actual" property="dbl_precio" format="0.0000" />&nbsp;			
			</logic:present>
		</td>
		<td align="right" class="font_general par">&nbsp;
			<logic:present name="precio_consumo">
				<bean:write name="precio_consumo"  format="#.#####" />&nbsp;
			</logic:present>
		</td>
		<td align="right" class="font_general par">&nbsp;
			<logic:present name="precio_clienteproducto">
				<bean:write name="precio_clienteproducto" format="#.#####" />&nbsp;
			</logic:present>
		</td>
		<td align="right" class="font_general par">&nbsp;
			<logic:present name="precio_clienteproductos">
				<bean:write name="precio_clienteproductos" format="#.#####" />&nbsp;
			</logic:present>
		</td>
		<td align="right" class="font_general par">&nbsp;
			<logic:present name="precio_grupoproductos">
				<!-- level 5 2009 07 27 Manejar 4 decimales en precios y flete -->
				<bean:write name="precio_grupoproductos"  format="0.0000"/>&nbsp;
			</logic:present>
		</td>
	</tr>
	<!-- Fin Fila Precios-->
	
	<!-- Fila Flete-->
	<tr>
		<td class="impar font_general">&nbsp;
			<strong><bean:message key="CreatePriceRequest.MainTable.Fle" /></strong>
		</td>
		<td align="right" class="font_general par">&nbsp;
			<logic:present name="precio_actual">
				<!-- level 5 2009 07 27 Manejar 4 decimales en precios y flete -->
				<bean:write name="precio_actual" property="dbl_flete"  format="0.0000"/>&nbsp;
			</logic:present>
		</td>
		<td align="right" class="font_general par">&nbsp;
			<logic:present name="precio_actual">
				<!-- level 5 2009 07 27 Manejar 4 decimales en precios y flete -->
				<bean:write name="precio_actual" property="dbl_flete"  format="0.0000"/>&nbsp;
			</logic:present>
		</td>
		<td align="right" class="font_general par">&nbsp;
			<logic:present name="precio_actual">
				<!-- level 5 2009 07 27 Manejar 4 decimales en precios y flete -->
				<bean:write name="precio_actual" property="dbl_flete"  format="0.0000" />&nbsp;
			</logic:present>
		</td>
		<td align="right" class="font_general par">
			<logic:present name="precio_actual">
				<!-- level 5 2009 07 27 Manejar 4 decimales en precios y flete -->
				<bean:write name="precio_actual" property="dbl_flete" format="0.0000" />&nbsp;
			</logic:present>
		</td>
		<td align="center" class="font_general par">&nbsp;
			-
		</td>
	</tr>
	<!-- Fin Fila Flete -->
	
	<!-- Fila Total-->
	<tr>
		<td class="impar font_general">&nbsp;<strong><bean:message
			key="CreatePriceRequest.MainTable.Sum" /></strong></td>
		<td align="right" class="font_general par">&nbsp;
			<logic:present name="precio_actual">
				<bean:write name="precio_actual" property="str_precioTotal" />&nbsp;
			</logic:present>
		</td>
		<td align="right" class="font_general par">&nbsp;<logic:present
			name="bn_detalle">
			<logic:empty name="solicitud" property="str_grpCli">
				<bean:write name="bn_detalle" property="str_totalPrecioCliProd" />
			</logic:empty>
		</logic:present></td>
		<td align="right" class="font_general par">&nbsp;<logic:present
			name="bn_detalle">
			<logic:empty name="solicitud" property="str_grpCli">
				<bean:write name="bn_detalle" property="str_totalPrecioCliProds" />
			</logic:empty>
		</logic:present></td>
		<td align="right" class="font_general par">&nbsp;<logic:present
			name="bn_detalle">
			<logic:notEmpty name="solicitud" property="str_grpCli">
				<bean:write name="bn_detalle"
					property="str_precioClisProds_detSol" />
			</logic:notEmpty>
		</logic:present></td>
		<td align="right" class="font_general par">&nbsp;<logic:present
			name="bn_detalle">
			<bean:write name="bn_detalle" property="str_totalPrecio" />
		</logic:present></td>
	</tr>
	<!-- Fin Fila Total-->
	
	<!-- Fila Fecha Inicio-->
	<tr>
		<td class="impar font_general">&nbsp;<strong><bean:message
			key="CreatePriceRequest.MainTable.InitDate" /></strong></td>
		<td align="center" class="font_general par">&nbsp;
			<logic:present name="precio_actual">
				<bean:write name="precio_actual" property="str_fechaInicio" />
			</logic:present>
		</td>
		<td align="center" class="font_general par">&nbsp;-</td>
		<td align="center" class="font_general par">&nbsp;-</td>
		<td align="center" class="font_general par" colspan="2">&nbsp;<logic:present
			name="bn_detalle">
			<bean:write name="bn_detalle" property="str_fechaInicio_detSol" />
		</logic:present></td>
	</tr>
	<!-- Fin Fila Fecha Inicio-->
	
	<!-- Fila Fecha Expiracion-->
	<tr>
		<td class="impar font_general">&nbsp;
			<strong><bean:message key="CreatePriceRequest.MainTable.ExpDate" /></strong>
		</td>
		<td align="center" class="font_general par">&nbsp;
			<logic:present name="precio_actual">
				<bean:write name="precio_actual" property="str_fechaExp" />
			</logic:present>
		</td>
		<td align="center" class="font_general par">&nbsp;-</td>
		<td align="center" class="font_general par">&nbsp;-</td>
		<td align="center" class="font_general par" colspan="2">&nbsp;
			<logic:present name="bn_detalle">
				<bean:write name="bn_detalle" property="str_fechaExp_detSol" />
			</logic:present>
		</td>
	</tr>
	<!-- Fin Fila Fecha Expiracion-->
	
	<!-- Fila Dias Credito-->
	<tr>
		<td class="impar font_general">&nbsp;
			<strong><bean:message key="CreatePriceRequest.MainTable.CredicDays" /></strong>
		</td>
		<td align="center" class="font_general par" colspan="2">&nbsp;
			<logic:present name="precio_actual">
				<bean:write name="precio_actual" property="str_diasCredito" />
			</logic:present>
		</td>
		<td align="center" class="font_general par">&nbsp;</td>
		<td align="center" class="font_general par" colspan="2">&nbsp;
			<logic:present name="precio_actual">
				<bean:write name="precio_actual" property="str_diasCredito" />
			</logic:present>
		</td>
	</tr>
	<!-- Fin Fila Dias Credito-->
	
</table>

</body>
</html>